{"version":3,"sources":["model.js"],"names":["BX","namespace","UI","EntityModel","this","_id","_settings","_isIdentifiable","_data","_initData","_lockedFields","_changeNotifier","_lockNotifier","eventsNamespace","prototype","initialize","id","settings","type","isNotEmptyString","util","getRandomString","prop","getBoolean","getObject","clone","doInitialize","getEventArguments","entityTypeName","getEntityTypeName","entityId","getEntityId","isIdentifiable","getInteger","hasField","name","hasOwnProperty","getField","defaultValue","undefined","get","getStringField","getString","getIntegerField","getNumberField","getNumber","getArrayField","getArray","registerNewField","value","setField","options","isPlainObject","eventArgs","fieldName","onCustomEvent","window","isFunction","notify","originator","getData","setData","data","forAll","updateData","mergeEx","updateDataObject","getInitFieldValue","setInitFieldValue","getSchemeField","schemeElement","getDataStringParam","setSchemeField","getMappedField","map","setMappedField","save","rollback","lockField","isLocked","unlockField","isFieldLocked","isCaptionEditable","getCaption","setCaption","caption","prepareCaptionData","addChangeListener","listener","addListener","removeChangeListener","removeListener","addLockListener","removeLockListener","create","self"],"mappings":"AAAAA,GAAGC,UAAU,SAEb,UAAUD,GAAGE,GAAGC,cAAgB,YAChC,CACCH,GAAGE,GAAGC,YAAc,WAEnBC,KAAKC,IAAM,GACXD,KAAKE,aACLF,KAAKG,gBAAkB,KACvBH,KAAKI,MAAQ,KACbJ,KAAKK,UAAY,KACjBL,KAAKM,cAAgB,KACrBN,KAAKO,gBAAkB,KACvBP,KAAKQ,cAAgB,KACrBR,KAAKS,gBAAkB,kBAExBb,GAAGE,GAAGC,YAAYW,WAEjBC,WAAY,SAASC,EAAIC,GAExBb,KAAKC,IAAML,GAAGkB,KAAKC,iBAAiBH,GAAMA,EAAKhB,GAAGoB,KAAKC,gBAAgB,GACvEjB,KAAKE,UAAYW,EAAWA,KAC5Bb,KAAKG,gBAAkBP,GAAGsB,KAAKC,WAAWnB,KAAKE,UAAW,iBAAkB,MAC5EF,KAAKI,MAAQR,GAAGsB,KAAKE,UAAUpB,KAAKE,UAAW,WAC/CF,KAAKK,UAAYT,GAAGyB,MAAMr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